package DBLayer;
import ModelLayer.*;

import java.util.ArrayList;
public interface IFDBSupplier 
{
    // get all employees
    public ArrayList<Supplier> getAllEmployees(boolean retriveAssociation);
    //get one employee having the ssn
    public Supplier findSupplier(String supplierId, boolean retriveAssociation);
    //find one employee having the name
    public Supplier searchSupplier(String SupplierName, boolean retriveAssociation);
    //insert a new employee
    public int insertSupplier(Supplier sup) throws Exception;
    //update information about an employee
    public int updateEmployee(Supplier sup);
    
    public int deleteSupplier(String supplierId);
}
